package net.wanho.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import net.wanho.dto.AddDTO;
import net.wanho.dto.UserDTO;
import net.wanho.po.UserInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

/**
* @author Administrator
* @description 针对表【user_info(用户表)】的数据库操作Mapper
* @createDate 2025-04-28 11:41:58
* @Entity net.wanho.po.UserInfo
*/
public interface UserInfoMapper extends BaseMapper<UserInfo> {

    UserInfo selectByName(String userCode);

    Page<UserInfo> selectByPage(Page<UserInfo> page,@Param("ew") QueryWrapper<UserInfo> wrapper);

    void putUser(UserInfo userInfo);

    void updateName(UserDTO userDTO);
}




